<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>dfp_api.Errors</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="dfp_api-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/google-api-dfp-python/">DFP API Python Client Library</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="dfp_api-module.html">Package&nbsp;dfp_api</a> ::
        Module&nbsp;Errors
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="dfp_api.Errors-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module Errors</h1><p class="nomargin-top"><span class="codelink"><a href="dfp_api.Errors-pysrc.html">source&nbsp;code</a></span></p>
<p>Classes for handling errors.</p>

<hr />
<div class="fields">      <p><strong>Author:</strong>
        api.sgrinberg@gmail.com (Stan Grinberg)
      </p>
</div><!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.Error-class.html" class="summary-name">Error</a><br />
      Implements Error.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.DetailError-class.html" class="summary-name">DetailError</a><br />
      Implements DetailError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.ApiError-class.html" class="summary-name">ApiError</a><br />
      Implements ApiException.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.ApiAsStrError-class.html" class="summary-name">ApiAsStrError</a><br />
      Implements ApiAsStrError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.InvalidInputError-class.html" class="summary-name">InvalidInputError</a><br />
      Implements InvalidInputError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.ValidationError-class.html" class="summary-name">ValidationError</a><br />
      Implements ValidationError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.ApiVersionNotSupportedError-class.html" class="summary-name">ApiVersionNotSupportedError</a><br />
      Implements ApiVersionNotSupportedError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.MissingPackageError-class.html" class="summary-name">MissingPackageError</a><br />
      Implements MissingPackageError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.MalformedBufferError-class.html" class="summary-name">MalformedBufferError</a><br />
      Implements MalformedBufferError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.AuthTokenError-class.html" class="summary-name">AuthTokenError</a><br />
      Implements AuthTokenError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.RequestError-class.html" class="summary-name">RequestError</a><br />
      Implements RequestError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.GoogleInternalError-class.html" class="summary-name">GoogleInternalError</a><br />
      Implements GoogleInternalError.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors.AuthenticationError-class.html" class="summary-name">AuthenticationError</a><br />
      Implements AuthenticationError.
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors-module.html#ERRORS" class="summary-name">ERRORS</a> = <code title="{'AdUnitAfcSizeError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
 'AdUnitCodeError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
 'ApiError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
 'AuthenticationError': &lt;class 'dfp_api.Errors.AuthenticationError'&gt;,
 'CommonError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
 'CreativeError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
 'FileError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
 'FlashCreativeError': &lt;class 'dfp_api.Errors.RequestError'&gt;,
..."><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">AdUnitAfcSizeError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.Request<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="dfp_api.Errors-module.html#ERROR_TYPES" class="summary-name">ERROR_TYPES</a> = <code title="['AdUnitAfcSizeError',
 'AdUnitCodeError',
 'ApiError',
 'AuthenticationError',
 'CommonError',
 'CreativeError',
 'FileError',
 'FlashCreativeError',
..."><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">AdUnitAfcSizeError</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">AdUnitCodeError</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">ApiEr</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="index"></a><span class="summary-name">index</span> = <code title="'UniqueError'"><code class="variable-quote">'</code><code class="variable-string">UniqueError</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="ERRORS"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">ERRORS</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">AdUnitAfcSizeError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">AdUnitCodeError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">ApiError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">AuthenticationError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.AuthenticationError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">CommonError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">CreativeError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">FileError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">FlashCreativeError</code><code class="variable-quote">'</code><code class="variable-op">: </code>&lt;class 'dfp_api.Errors.RequestError'&gt;<code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="ERROR_TYPES"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">ERROR_TYPES</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">AdUnitAfcSizeError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">AdUnitCodeError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">ApiError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">AuthenticationError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">CommonError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">CreativeError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">FileError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
 <code class="variable-quote">'</code><code class="variable-string">FlashCreativeError</code><code class="variable-quote">'</code><code class="variable-op">,</code>
<code class="variable-ellipsis">...</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="dfp_api-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/google-api-dfp-python/">DFP API Python Client Library</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
